day 10 binary numbers solution python